package s11n;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

public class HelloWorldSerialize {

	public static void main(String[] args) throws IOException {
		FileOutputStream fos = new FileOutputStream("temp");
		ObjectOutputStream oos = new ObjectOutputStream(fos);
		SimplePojo pojo = new SimplePojo();
		oos.writeObject(pojo);
		oos.flush();
		oos.close();
	}

}
